package com.woniuxy.automotivemanagementsystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.automotivemanagementsystem.entity.Menu;
import com.woniuxy.automotivemanagementsystem.entity.Role;
import com.woniuxy.automotivemanagementsystem.entity.User;

import java.util.List;

public interface RoleService extends IService<Role> {
    List<Role> findRoleByUserId(Integer uid);

    List<User> selectUserByRid(Integer rid);

    void updateMenusByRoleId(Integer rid, List<Menu> menus);
}
